package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.bean.Employee;

import java.util.List;

/**
 * IntelliJ IDEA -> person
 * 2019/11/20 0:10
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
public interface EmployeeService {
    Employee login(String loginname ,String  loginpassword );
    PageInfo<Employee> findAll(int pageIndex , int pageSize ,String username,String rname,String deptname);
   int insert( Employee employee);
   Employee  findByLoginname(String loginname);
    Employee selectByPrimaryKey(Integer id);
     int  updateEmp(Employee employee);
     int deleteByid(int id,int state);
  int   deleteByIds(int[] empids);
    List<Employee> findByIds(int[] empids);
}
